package net.kesumu.yushabuserver.dao;

import java.util.ArrayList;

import net.kesumu.yushabuserver.entity.User;

public interface IUserDao {

    boolean register(User user);
    
    User login(String email,String password);
    
    User getUserById(int id);
    
    User getUserByYuYuChatId(String yuyuChatId);
    
    ArrayList<User> getUsersByName(String name);
    
    boolean updateUser(User user);
}
